from django.conf.urls import url,include
from rest_framework.routers import DefaultRouter
from .views import AreasReadOnlyModelViewSet


# 创建一个 Router
router=DefaultRouter()


# 注册
router.register(r'infos',AreasReadOnlyModelViewSet,base_name='area')


urlpatterns=[]

#添加省市区信息查询路由
urlpatterns+=router.urls
